package com.it.travel01.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.it.travel01.pojo.Favorite;
import com.it.travel01.vo.ResultInfo;

public interface FavoriteService extends IService<Favorite> {

    /**
     * 收藏回显功能
     * @param rid 查询详情路线id
     * @return
     */
    ResultInfo isFavoriteByRid(Integer rid);

    /**
     * 我的收藏展示
     * @param curPage
     * @return
     */
    ResultInfo findFavoriteByPage(Integer curPage);
}
